// 获取app信息（版本等）
export const getAppInfo = (params) => {
  return new Promise((resolve, reject) => {
    const result = {
      code: 200,
      msg: 'ok',
      data: {
        name: 'uni-admin-roc',
        version: '1.0.0',
        versionCode: 100,
        downloadUrl: 'https://rocyuan666.github.io'
      }
    }
    resolve(result)
  })
}